package com.sss.hloster02;
import java.util.Scanner;

public class CalSalary {

	public static void main(String[] args) {
		double engSalary = 0.0;
		int basSalary = 3000;
		int comResult = 100;
		double workDay = 22;
		double insurance = 3000*0.105;
		
		Scanner input = new Scanner(System.in);
		System.out.print("请输入java工程师底薪：");
		basSalary = input.nextInt();
		System.out.print("请输入java工程师月工作完成的分数（最小值为0，最大值为150）：");
		comResult=input.nextInt();
		System.out.print("请输入java工程师月实际工作天数：");
		workDay = input.nextDouble();
		System.out.print("请输入java工程师月应扣保险数：");
		insurance = input.nextDouble();
		engSalary = basSalary + basSalary*0.25*comResult/100+15*workDay - insurance;
		System.out.println("java工程师月薪为："+engSalary);

	}

}
